package com.dk.service.goods;

import com.dk.pojo.goods.TbGoods;
import com.dk.pojo.goods.TbGoodsDesc;
import com.dk.pojo.item.TbItem;

import java.util.List;

public interface GoodsService {
    int saveGoods(TbGoods goods, TbGoodsDesc goodsDesc, List<TbItem> tbItems, List<String> skuStrings);

    List<TbGoods> listGoods();

    int goodsEach(String status, Long[] ids);

    TbGoods getGoodsById(Long goodsId);

    TbGoodsDesc getGoodsDescById(Long goodsId);

    List<TbItem> listItem(Long goodsId);
}
